package com.hbcx.dto;

public class ColumnConfigItem {
    public enum COLUMN_TYPE {
        GETGUID("GETGUID()"),
        SYSDATA("to_char(sysdate,'yyyy-mm-dd hh24:mi:ss')");

        private String value;
        COLUMN_TYPE(String type) {
            this.value = type;
        }
        public String getValue() {
            return value;
        }

        @Override
        public String toString() {
            return this.value;
        }
    }
    private String column;
    private String columnRef;
    private String columnType;
    private String startRef;
    private String endRef;
    private int rowIndex;
    private boolean useAmtScale = false;
    private ColumnConfigItem[] relationColumn;
    private String[] exceptString = null;
    private boolean exceptEmpty = false;
    private boolean onlyFlag = false;
    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getColumnRef() {
        return columnRef;
    }

    public void setColumnRef(String columnRef) {
        this.columnRef = columnRef;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getStartRef() {
        return startRef;
    }

    public void setStartRef(String startRef) {
        this.startRef = startRef;
    }

    public String getEndRef() {
        return endRef;
    }

    public void setEndRef(String endRef) {
        this.endRef = endRef;
    }

    public int getRowIndex() {
        return rowIndex;
    }

    public void setRowIndex(int rowIndex) {
        this.rowIndex = rowIndex;
    }

    public ColumnConfigItem[] getRelationColumn() {
        return relationColumn;
    }

    public void setRelationColumn(ColumnConfigItem[] relationColumn) {
        this.relationColumn = relationColumn;
    }

    public boolean isUseAmtScale() {
        return useAmtScale;
    }

    public void setUseAmtScale(boolean useAmtScale) {
        this.useAmtScale = useAmtScale;
    }

    public String[] getExceptString() {
        return exceptString;
    }

    public void setExceptString(String[] exceptString) {
        this.exceptString = exceptString;
    }

    public boolean isExceptEmpty() {
        return exceptEmpty;
    }

    public void setExceptEmpty(boolean exceptEmpty) {
        this.exceptEmpty = exceptEmpty;
    }

    public boolean isOnlyFlag() {
        return onlyFlag;
    }

    public void setOnlyFlag(boolean onlyFlag) {
        this.onlyFlag = onlyFlag;
    }
}
